
public class Dog extends Animal{
	
	public Dog(String meno) {
		super(meno);
		
	}
	void zabres(){
		System.out.println("Hav!");
	}
	public static void main(String[] args) {
		Dog prvyPes = new Dog ("Breki");
		for (int i = 0; i < 3; i++) {
			prvyPes.zabres();	
		}
		
		

	}

}
